import countDown from "./countDown";

const install = Vue => {
  Vue.directive("countDown", countDown);
};

if (window.Vue) {
  window["countDown"] = countDown;
  Vue.use(install); // eslint-disable-line
}

countDown.install = install;
export default countDown;
